/* 工具容器样式 */
.tools-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
}

/* 工具按钮样式 */
.tool-button {
    --button-size: 120px;
    --hover-lift: -2px;
    
    flex: 0 0 var(--button-size);
    height: calc(var(--button-size) * 0.667);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.tool-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #f5f8ff, white);
    opacity: 0.8;
    z-index: 0;
}

.tool-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.tool-icon {
    font-size: 24px;
    color: #336dab;
    transition: transform 0.2s ease;
}

.tool-text {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* 交互状态 */
.tool-button:hover {
    transform: translateY(var(--hover-lift));
    border-color: #d0e0ff;
    box-shadow: 0 4px 12px rgba(51, 109, 171, 0.08);
}

.tool-button:hover .tool-icon {
    transform: scale(1.1);
}

.tool-button:active {
    transform: translateY(0);
}

.tool-button:focus {
    outline: none;
    border-color: #336dab;
    box-shadow: 0 0 0 3px rgba(51, 109, 171, 0.1);
}

/* 禁用状态 */
.tool-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background-color: #f5f5f5;
}
 